package com.niiwoo.civet.account.service;

import com.niiwoo.civet.account.dto.response.AccountPersonDTO;

/**
 * 个人帐户服务
 * @author TomXue
 * @since 2018-04-23
 */
public interface AccountPersonDubboService {
    /**
     * 查询个人在机构开的存管帐户信息
     * @param userId
     * @param orgId
     * @return
     */
    default AccountPersonDTO queryAccountPersonByOrgIdAndUserId(String userId,String orgId){return null;};

    /**
     * 用户是否在指定机构已开户
     * @param userId
     * @param orgId
     * @return
     */
    default boolean isOpenAccountPersonInOrg(String userId,String orgId){return false;};
}
